package aiingames.simulation.agent;

import java.util.Comparator;

import aiingames.simulation.agent.AgentAction.SimpleAction;

public class MaxSorter implements Comparator<Double>{

	@Override
	public int compare(Double a, Double b) {

		int compare=0;
		
		if(a>b){
			compare=-1;
		}else if(a==b){
			compare=0;
		}else{
			compare=1;
		}
		return compare;
	}
}